package com.bigmi.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigmi.model.admin.dto.SensitiveDto;
import com.bigmi.model.common.dtos.ResponseResult;
import com.bigmi.model.wemedia.pojos.WmSensitive;
import org.springframework.stereotype.Service;

public interface SensitiveService extends IService<WmSensitive> {
    /**
     * 查询敏感词列表
     * @param sensitiveDto
     * @return
     */
    public ResponseResult listAll(SensitiveDto sensitiveDto);

    /**
     * 新增敏感词
     * @return
     */
    public ResponseResult add(WmSensitive wmSensitive);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    public ResponseResult del(Integer id);

    /**
     * 修改敏感词
     * @param wmSensitive
     * @return
     */
    public ResponseResult upDate(WmSensitive wmSensitive);
}
